Mint\MRM\DataBase\Models\ContactModel D

Total Complexity 135
Dependencies 12
Dependents 29
Total lines 1,141
Lines of code 627
Logical lines of code 354
Comment lines 411
Methods 39
Properties 0

Methods 39

Method Rating Maintainability Complexity Lines of code
get_filtered_contacts()
C
34 27 77
record_unsubscribe()
A
50 9 26
remove_form_entries_for_deleted_contact()
A
51 8 26
get_all()
A
45 7 37
update()
S
45 5 45
get_contact_data_by_email()
S
57 7 15
insert()
S
47 5 35
contact_information_to_shop_order()
S
55 6 19
update_meta_fields()
S
49 5 33
get()
S
58 5 14
destroy_all()
S
52 4 23
is_contact_ids_exists()
S
58 3 14
is_contact_meta_exist()
S
59 3 13
is_contact_meta_key_exist()
S
59 3 13
get_total_count()
S
52 2 22
destroy()
S
56 2 18
is_contact_source_by_form()
S
66 3 9
get_form_id_by_source()
S
66 3 8
get_user_id_by_wp_user_id()
S
58 2 15
get_contact_total()
S
59 2 15
get_single_email()
S
63 3 9
mrm_contact_custom_attributes()
S
53 1 28
get_meta()
S
62 2 10
is_contact_exist_by_id()
S
63 2 10
get_contact_full_name()
S
69 2 6
insert_form_submission()
S
62 1 11
is_contact_exist()
S
69 1 6
get_meta_value_by_key()
S
71 1 5
get_contact_email_by_id()
S
71 1 5
update_contact_status()
S
67 1 7
get_by_hash()
S
71 1 5
get_email_by_id()
S
71 1 5
get_contact_source_by_id()
S
71 1 5
get_contacts_count()
S
71 1 5
get_contact_by_email()
S
71 1 5
get_contacts_status_count()
S
71 1 5
get_id_by_email()
S
69 1 6
update_subscription_status()
S
65 1 9
get_contact_meta_value_by_key()
S
65 1 8